home *** CD-ROM | disk | FTP | other *** search
/ Visions 7: People / Visions 7: People.iso / pc / _bbs / pcbtool / all.bat next >
Encoding:
DOS Batch File  |  1995-07-16  |  1.2 KB  |  49 lines

  1. rem change the leading character to a | in the header ?
  2.  
  3. REM  ---Change this---
  4. REM Set CDROM to the CDROM drive letter that the disk is in (don't forget
  5. REM the ':'!)
  6. set cdrom=n:
  7. REM  ---Change this---
  8.  
  9. REM  ---Change this---
  10. REM Set OUTPUT to the FULL target path for your DIR files
  11. set output=n:\_bbs\pcb
  12. REM  ---Change this---
  13.  
  14. REM  I set this globally, in ..\all.bat
  15. REM  To run this one batch file, change it here also.
  16. if .%in_type% == . goto not_set
  17. goto set
  18. :not_set
  19. echo in_type not set
  20. goto end
  21. :set
  22.  
  23. rem you shouldn't have to change anything below this.
  24.  
  25. REM  This is the foreign language stuff.  the default extension is
  26. REM  ".txt"
  27. if .%in_language% == . goto not_set2
  28. goto set2
  29. :not_set2
  30. set in_language=txt
  31. :set2
  32.  
  33. echo y | del %output%\*.*
  34. del dir.lst
  35. del logfile
  36. del ..\logfile
  37. del dlpath.lst
  38.  
  39. rem this produces the index files for each directory
  40. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit
  41.  
  42. rem this produces the dir.lst file
  43. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit2
  44.  
  45. rem this produces the dlpath.lst file
  46. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit3
  47.  
  48. :end
  49.